package com.tablefood.domain;

import java.sql.Timestamp;
import java.util.Date;

/**
 * ShopProfile entity. @author MyEclipse Persistence Tools
 */

public class ShopProfile implements java.io.Serializable {

	// Fields

	private Long id;
	private ShopUser shopUser;
	private String truename;
	private String nickname;
	private Short age;
	private String sex;
	private Date birthday;
	private String company;
	private String phone;
	private Timestamp createTime;
	private Timestamp updateTime;

	// Constructors

	/** default constructor */
	public ShopProfile() {
	}

	/** full constructor */
	public ShopProfile(ShopUser shopUser, String truename, String nickname,
			Short age, String sex, Date birthday, String company, String phone,
			Timestamp createTime, Timestamp updateTime) {
		this.shopUser = shopUser;
		this.truename = truename;
		this.nickname = nickname;
		this.age = age;
		this.sex = sex;
		this.birthday = birthday;
		this.company = company;
		this.phone = phone;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public ShopUser getShopUser() {
		return this.shopUser;
	}

	public void setShopUser(ShopUser shopUser) {
		this.shopUser = shopUser;
	}

	public String getTruename() {
		return this.truename;
	}

	public void setTruename(String truename) {
		this.truename = truename;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public Short getAge() {
		return this.age;
	}

	public void setAge(Short age) {
		this.age = age;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Date getBirthday() {
		return this.birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(Timestamp updateTime) {
		this.updateTime = updateTime;
	}

}